package com.ruoyi.pack.domain.dto;

import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 围栏信息DTO
 * 
 * @author ruoyi
 */
public class FenceInfoDto
{
    /** 围栏类型（1-多边形围栏 2-圆形围栏） */
    @NotBlank(message = "围栏类型不能为空")
    private String fenceType;



    /** 围栏坐标点列表 */
    @NotEmpty(message = "围栏坐标点不能为空")
    private List<FencePointDto> points;

    public String getFenceType()
    {
        return fenceType;
    }

    public void setFenceType(String fenceType)
    {
        this.fenceType = fenceType;
    }



    public List<FencePointDto> getPoints()
    {
        return points;
    }

    public void setPoints(List<FencePointDto> points)
    {
        this.points = points;
    }
} 